<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

//Route::get('/', function () {
//    return view('welcome');
//});

 //用户添加路由
Route::get('stu/add','StuController@add');
 //用户执行路由
Route::post('stu/addStore','StuController@addStore');
//用户列表页路由
Route::get('stu/index','StuController@index');
//用户列表页-编辑路由
Route::get('stu/edit/{id}','StuController@edit');
//执行编辑路由
Route::post('stu/update','StuController@update');
//执行删除路由
Route::get('stu/del/{id}','StuController@delete');